/* SYSTEM LEVEL CORE CONFIG RESETS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fdfcf9;
    color: #222222;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* HEADER TOP MINI STRAP BAR */
.top-bar {
    background-color: #051021;
    color: #ffffff;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    padding: 10px 8%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* NAVIGATION MENU MAIN STICKY BAR */
.main-header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    height: 6rem;
}

.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-title { font-family: 'Cinzel', serif; font-size: 22px; font-weight: 600; color: #0a2540; letter-spacing: 1px; }
.logo-subtitle { font-size: 10px; letter-spacing: 2px; color: #666; }

.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; }
.nav-links a.active { color: #0a2540; font-weight: 600; }

.btn-assessment {
    background-color: #0f233c; color: white; padding: 12px 24px;
    border-radius: 25px; border: none; font-weight: 500; cursor: pointer;
}

/* NAVBAR DROPDOWN MULTIPLEXER MODULE */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none; position: absolute; background-color: #ffffff; min-width: 220px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15); border-radius: 8px; padding: 10px 0;
    top: 100%; left: 0; z-index: 1000;
}
.dropdown-content a { color: #444444 !important; padding: 12px 20px; display: block; font-size: 14px; font-weight: 500; }
.dropdown-content a:hover { background-color: #faf8f5; color: #0a2540 !important; }
.dropdown:hover .dropdown-content { display: block; }

/* HERO BRAND SPLASH PLATFORM DESIGN ENGINE */
.program-hero-section {
    position: relative;
    height: 520px;
    background: url('https://images.unsplash.com/photo-1518495973542-4542c06a5843?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.program-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(4, 13, 26, 0.95), rgba(4, 13, 26, 0.65));
    z-index: 1;
}

.program-hero-container {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 800px;
}

.program-hero-tag {
    font-size: 11px;
    letter-spacing: 2.5px;
    color: #d1b894;
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

.program-hero-container h1 {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 18px;
}

.program-hero-container p {
    font-size: 18px;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 32px;
}

.program-hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-hero-gold {
    background-color: #d1b894;
    color: #051021;
    padding: 16px 28px;
    border-radius: 32px;
    font-size: 14px;
    font-weight: 600;
}

.btn-hero-outline {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 16px 28px;
    border-radius: 32px;
    font-size: 14px;
    font-weight: 500;
}

.valor-health-badge-hero {
    position: absolute;
    right: 8%;
    top: 50px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 1.5px;
}

/* INTRO METRIC SYSTEM HIGHLIGHT STATS GRID */
.program-intro-summary {
    padding: 80px 8% 60px 8%;
    max-width: 1500px;
    margin: 0 auto;
}

.program-intro-summary h2 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 500;
    color: #0f233c;
    line-height: 1.4;
    margin-bottom: 50px;
    max-width: 950px;
}

.summary-counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    
    padding :30px 20px;
    
}

.summary-counter-box h4 {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: #0f233c;
    font-weight: 500;
    margin-bottom: 6px;
}

.summary-counter-box p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

/* CONDITIONS CONTENT MATRIX ROW GRID STRUCTURE ENGINE */
.conditions-treatment-block {
    padding: 40px 8% 100px 8%;
    max-width: 1440px;
    margin: 0 auto;
}

.condition-flex-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 60px 0;
}

.condition-flex-row.reverse-row {
    direction: rtl;
}

.condition-flex-row.reverse-row .condition-content-panel {
    direction: ltr; /* Reset text direction inside content block context */
}

.condition-image-panel {
    position: relative;
    width: 100%;
}

.condition-image-panel img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
}

/* Custom golden overlap square precisely tracing reference image */
.gold-accent-corner-decorator {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: #d1b894;
    opacity: 0.65;
    bottom: -15px;
    right: -15px;
    border-radius: 6px;
    z-index: -1;
}

.condition-flex-row.reverse-row .gold-accent-corner-decorator {
    left: -15px;
    right: auto;
}

.condition-content-panel .condition-meta-tag {
    font-size: 11px;
    letter-spacing: 2px;
    color: #8c8273;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.condition-content-panel h2 {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: #0f233c;
    font-weight: 400;
    margin-bottom: 16px;
}

.condition-content-panel p {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 24px;
}

.condition-bullets-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.condition-bullets-list li {
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 500;
}

/* BOTTOM INLINE PROGRAM SLAT CTA PANEL CARD */
.inline-program-cta-slat {
    padding: 0 8% 80px 8%;
    max-width: 1440px;
    margin: 0 auto;
}

.cta-slat-card-inside {
    background-color: #f7f3eb; /* Matching the structural soft vanilla theme block */
    border: 1px solid #ebd9c8;
    border-radius: 16px;
    padding: 40px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slat-left-content { max-width: 600px; }
.slat-tag-lbl { font-size: 10px; letter-spacing: 2px; color: #8c8273; font-weight: 600; display: block; margin-bottom: 8px; }
.slat-left-content h3 { font-family: 'Cinzel', serif; font-size: 24px; color: #0f233c; margin-bottom: 8px; font-weight: 500; }
.slat-left-content p { font-size: 14px; color: #555555; line-height: 1.5; }

.slat-right-buttons {
    display: flex;
    
    gap: 12px;
   
}

.btn-slat-phone {
    background-color: #0f233c;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.btn-slat-admissions {
    background-color: transparent;
    border: 1px solid #0f233c;
    color: #0f233c;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.btn-slat-phone:hover { background-color: #051021; }
.btn-slat-admissions:hover { background-color: #0f233c; color: #ffffff; }

/* CRISIS AND FOOTER STABLE INTEGRATION BLOCKS */
.crisis-banner { background-color: #d63f3f; color: white; text-align: center; padding: 15px; font-size: 14px; font-weight: 500; }
.main-footer { background-color: #040d1a; color: #94a3b8; padding: 70px 8% 30px 8%; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1fr 2.5fr; gap: 60px; margin-bottom: 40px; }
.logo-area.light .logo-title { color: #ffffff; }
.brand-desc { margin-top: 20px; line-height: 1.6; color: #cbd5e1; }
.footer-contact-info { margin-top: 25px; }
.footer-contact-info p { margin-bottom: 10px; color: #ffffff; }
.footer-links-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.footer-links-grid h4 { color: #ffffff; font-size: 11px; letter-spacing: 1.5px; margin-bottom: 20px; }
.footer-links-grid ul { list-style: none; }
.footer-links-grid ul li { margin-bottom: 12px; }
.footer-links-grid ul li a { color: #94a3b8; font-size: 13px; }
.footer-divider { border: none; border-top: 1px solid rgba(255, 255, 255, 0.08); margin: 40px 0; }
.tools-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.tools-tag { font-size: 11px; letter-spacing: 1.5px; color: #d1b894; display: block; margin-bottom: 8px; }
.tools-header h3 { color: #ffffff; font-family: 'Cinzel', serif; font-size: 24px; }
.btn-toolkit { color: #ffffff; border-bottom: 1px solid #ffffff; padding-bottom: 4px; font-size: 14px; }
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.tools-grid ul { list-style: none; }
.tools-grid ul li { margin-bottom: 12px; }
.tools-grid ul li a { color: #94a3b8; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; color: #64748b; margin-top: 20px; }
.legal-links a { margin-left: 20px; color: #64748b; }

/* CHAT BUTTON FIXED INTERNALS */
.chat-widget { position: fixed; bottom: 25px; z-index: 999; cursor: pointer; border-radius: 50px; display: flex; align-items: center; justify-content: center; }
.left-widget { left: 25px; background-color: #22c55e; width: 45px; height: 45px; font-size: 20px; }
.right-widget { right: 25px; background-color: #0f233c; color: white; padding: 12px 22px; font-size: 14px; }

/* RESPONSIVE RENDERING INTERFACE TRANSFORMS */
@media (max-width: 1024px) {
    .condition-flex-row, .condition-flex-row.reverse-row { grid-template-columns: 1fr; gap: 40px; }
    .summary-counters-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .cta-slat-card-inside { flex-direction: column; gap: 30px; text-align: center; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .program-hero-actions { flex-direction: column; width: 100%; align-items: stretch; }
    .btn-hero-gold, .btn-hero-outline { text-align: center; }
}

















.summary-counter-box {
    background: #fff;
    border: none;
    box-shadow: none;
    border-radius: 16px;
    padding: 24px 20px;
    min-height: 160px;
    
}

.summary-counter-box h4 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.summary-counter-box p {
    margin: 0;
    line-height: 1.5;
}







@media (max-width: 992px) {
    .summary-counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .summary-counters-grid {
        grid-template-columns: 1fr;
    }
}









.summary-counter-box{
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.summary-counter-box:hover{
    transform: translateY(-5px);
}






